Notes in Computer Science 6012

نویسندگان

  • Gerhard Goos
  • Juris Hartmanis
  • Jan van Leeuwen
  • Andrew D. Gordon
  • Roger Needham
چکیده

A venerable line of research aims to provide a general-purpose programming language with a well-defined subset that compiles into efficient queries, perhaps by translation into SQL or some other suitable query language. This talk discusses some older and more recent advances in this direction, including the languages Kleisli, LINQ, Ferry, M, and Links. Twenty-five years ago, Copeland and Maier decried the “impedance mismatch” between databases and progamming languages, and Atkinson and Buneman observed “Databases and programming languages have developed almost independently of one another for the past twenty years”, a situation that has not greatly changed in the intervening time, and spoke of “The need for a uniform language” (their emphasis). The problem is simple: two languages are more than twice as difficult to use as one language. Most programming languages support data abstraction and nested data, while most relational databases support tables over a few fixed scalar types. Any task involving both requires that the programmer keep in mind two representations of the same underlying data, converting between them and synchronizing updates to either. This persistent bookkeeping adds to the mental burden on the programmer and adds to the complexity of the code. The solution is equally simple: provide a single language with a well-defined subset that compiles into efficient queries, perhaps by translation into SQL or some other suitable query language. It is important that the subset support the abstraction mechanisms of the language, for example allowing one to lambda abstract over a predicate used in a query, where instantiating the abstraction with a specific predicate should result in an efficient query. In the simplest case, only flat data (such as bags of records) can be translated into the database. In a more sophisticated system, nested data (such as records of bags) can be represented in the database via a suitable encoding, the details of which need not concern the programmer. While easy to envision, practical implementation of such languages has proved elusive in practice. This talk discusses some older and more recent advances in this direction, including the languages Kleisli, LINQ, Ferry, M, and Links. With apologies to Barack Obama and David August. A.D. Gordon (Ed.): ESOP 2010, LNCS 6012, p. 1, 2010. c © Springer-Verlag Berlin Heidelberg 2010 Dynamic Boundaries: Information Hiding by Second Order Framing with First Order Assertions David A. Naumann1, and Anindya Banerjee2, 1 Stevens Institute of Technology, Hoboken NJ, USA 2 IMDEA Software, Madrid, Spain Abstract. The hiding of internal invariants creates a mismatch between procedure specifications in an interface and proof obligations on the implementations of those procedures. The mismatch is sound if the invariants depend only on enThe hiding of internal invariants creates a mismatch between procedure specifications in an interface and proof obligations on the implementations of those procedures. The mismatch is sound if the invariants depend only on encapsulated state, but encapsulation is problematic in contemporary software due to the many uses of shared mutable objects. The mismatch is formalized here in a proof rule that achieves flexibility via explicit restrictions on client effects, expressed using ghost state and ordinary first order assertions.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Stochastic Performance Prediction for Iterative Algorithms in Distributed Environments

*Department of Computer Science and Engineering, University of California at San Diego, La Jolla, California 92093-0114; Department of Computer Science, 104 Ayres Hall, University of Tennessee, Knoxville, Tennessee 37996-1301; Department of Computer Science, 104 Ayres Hall, University of Tennessee, Knoxille, Tennessee 37996-1301 and Mathematical Science Section, P.O. Box 2008, Building 6012, Oa...

متن کامل

Tv and or Fm Transmitting Antennas Desien Using Computer Graphic System (RESEARCH NOTES)

The purpose of this paper is three fold. First, the major theoretical pattern relationships of TV and/or FM transmitting antennas are dealt with. Secend, the computer calculation method and designing of such patterns using the given relationships. And third, a method in which a computer graphic system can be used to design such antennas for a specific pattern is introduced and its results are p...

متن کامل

A Proposal for a Fortran 90 Interface for LAPACK

Department of Computer Science, University of Tennessee, 107 Ayres Hall, Knoxville, TN 37996-1301 and Mathematical Sciences Section, Oak Ridge National Laboratory, P.O.Box 2008, Bldg. 6012; Oak Ridge, TN 37831-6367, Email: [email protected] Numerical Algorithms Group Ltd, Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, UK, Email: [email protected] or [email protected] respectively UNI C, Bldg....

متن کامل

Some notes concerning the convergence control parameter in homotopy analysis method

omotopy analysis method (HAM) is a promising method for handling func-tional equations. Recent publications proved the eectiveness of HAM in solvingwide variety of problems in dierent elds. HAM has a unique property whichmakes it superior to other analytic methods, this property is its ability to con-trol the convergence region of the solution series. In this work, we claried theadvantages and ...

متن کامل

Evidence of the Potential Shift Mechanism in Crevice Corrosion (RESEARCH NOTES)

Previous research has indicated a qualitative resemblance between the current distribution along actively corroding crevice walls and currents measured in corresponding anodic polarization plots. Using detailed measurements of the potential gradient along the crevice, a semi-quantitative current distribution was calculated for the crevice wall using a double numerical differentiation method. Th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2010